package cn.maxhou.vo;

public class Auctionrecord {
    private int id;
    private int userId;
    private int auctionId;
    private String  auctionTime;
    private double auctionPrice;
    private String  userName;

    public Auctionrecord() {}

    public Auctionrecord(int id, int userId, int auctionId, String auctionTime, double auctionPrice, String userName) {
        this.id = id;
        this.userId = userId;
        this.auctionId = auctionId;
        this.auctionTime = auctionTime;
        this.auctionPrice = auctionPrice;
        this.userName = userName;
    }

    public Auctionrecord(int userId, int auctionId, String auctionTime, double auctionPrice, String userName) {
        this.userId = userId;
        this.auctionId = auctionId;
        this.auctionTime = auctionTime;
        this.auctionPrice = auctionPrice;
        this.userName = userName;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getAuctionId() {
        return auctionId;
    }

    public void setAuctionId(int auctionId) {
        this.auctionId = auctionId;
    }

    public String getAuctionTime() {
        return auctionTime;
    }

    public void setAuctionTime(String auctionTime) {
        this.auctionTime = auctionTime;
    }

    public double getAuctionPrice() {
        return auctionPrice;
    }

    public void setAuctionPrice(double auctionPrice) {
        this.auctionPrice = auctionPrice;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    @Override
    public String toString() {
        return "Auctionrecord{" +
                "id=" + id +
                ", userId=" + userId +
                ", auctionId=" + auctionId +
                ", auctionTime='" + auctionTime + '\'' +
                ", auctionPrice=" + auctionPrice +
                ", userName='" + userName + '\'' +
                '}';
    }
}
